acorn 套件的引入問題


import acorn from "acorn"; 引入會有問題,需要用 import * as acorn from "acorn";

#acorn #nodejs #js #ts #TypeScript #javascript #Node






你可能感興趣的文章

什麼是 Prototype 、繼承與原型鏈 ?

什麼是 Prototype 、繼承與原型鏈 ?

# 2021 review

# 2021 review

React-[基礎篇]- React如何處理事件

React-[基礎篇]- React如何處理事件






留言討論